package com.cookie.utils;

import java.io.Serializable;

/**
 * 使用idea自动生成序列号
 * Settings->Editor->Inspections->
 * 勾上 Java->Serialization Issues->Serializable class without 'serialVersionUID'
 * 当创建一个类并实现Serializable接口后，并报警告，点击警告，自动生成UID
 */
public class EtlResult implements Serializable {
    private static final long serialVersionUID = 856140012222118713L;

    private boolean           succeeded        = false;

    private String            resultMessage;

    private String            errorMessage;

    public boolean isSucceeded() {
        return succeeded;
    }

    public void setSucceeded(boolean succeeded) {
        this.succeeded = succeeded;
    }

    public String getResultMessage() {
        return resultMessage;
    }

    public void setResultMessage(String resultMessage) {
        this.resultMessage = resultMessage;
    }

    public String getErrorMessage() {
        return errorMessage;
    }

    public void setErrorMessage(String errorMessage) {
        this.errorMessage = errorMessage;
    }
}
